home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / altpage.arc / ALTPAGE.PRN < prev   
Encoding:
Text File  |  1985-11-03  |  4.7 KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                                     AAALLLTTTPPPAAAGGGEEE, v1.0
  18.  
  19.                           (Print a document on both sides)
  20.                                     Documentation
  21.                                   November 3, 1985
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.           Written by:
  40.               Eric Ewanco
  41.               Sysop, Fido 130/920
  42.               7633 Beckwood Dr.
  43.               Fort Worth, TX 76112-6051
  44.               BBS : (817) 457-4737
  45.               A member of the DFW Gateway Net
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           Page 1                                    AAALLLTTTPPPAAAGGGEEE Documentation
  74.  
  75.           FORWARD          FORWARD          FORWARD
  76.  
  77.                Altpage is a program designed to allow you to print on  both
  78.           sides  of  printer paper by separating the even and odd pages or,
  79.           if you like, the right and left pages. This is a 50% savings over
  80.           printing on one side. Altpage does this by counting the number of
  81.           lines while outputting each character to a file;  if a Form  Feed
  82.           is reached or the number of lines is 66,  then the output file is
  83.           switched.  Altpage is designed to work with most all  text  files
  84.           meant to be printed.
  85.  
  86.           USAGE          USAGE          USAGE
  87.  
  88.                Altpage  is  used  as  follows: at the DOS prompt,  you type
  89.           ALTPAGE followed by the input file,  then odd pages  file  (right
  90.           pages),  and  the  even  pages  file  (left pages).  If you enter
  91.           ALTPAGE by itself,  a description  of  its  usage  is  displayed.
  92.           Altpage  will  proceed  to convert your document.  When finished,
  93.           Altpage will print a message:
  94.           altpage END: processed xxx pages
  95.           which tells you that it is done and how many pages it  processed.
  96.           If  Altpage  runs  into  an error,  the following message will be
  97.           displayed:
  98.           altpage ABORT: (error)
  99.           where (error) is "can't read <file>," "write error or disk full,"
  100.           or "can't create <file>." Altpage then aborts.
  101.  
  102.           PRINTING THE DOCUMENT          PRINTING THE DOCUMENT          PRINTING THE DOCUMENT
  103.  
  104.                There  are  several ways in which you can actually print the
  105.           documents.  You can specify two files and print  them  afterward,
  106.           or,  you  can enter PRN for the first file and Altpage will print
  107.           it while converting; however, that file will be lost and you will
  108.           have  to  rerun Altpage to make it again.  If you want to use DOS
  109.           2.0's filtering  capabilities  or  type  in  the  text  yourself,
  110.           specify  [STDIN]  for the input file;  the file will then be read
  111.           from standard input. For instance:
  112.           type altpage.doc |altpage [STDIN] altpage.odd altpage.evn
  113.           Note that STDIN must be in upper case.  This  will  do  the  same
  114.           thing  as  "altpage altpage.doc altpage.odd altpage.evn",  but it
  115.           does demonstrate the use of standard input.
  116.                After you create the proper files, you can print it out. Set
  117.           you  print  to top of form and use your favorite print program to
  118.           print it out; however,  make sure that you program doesn't format
  119.           the input itself; you can COPY to PRN, use the DOS PRINT program,
  120.           or even TYPE and redirect to PRN. The first file you print out is
  121.           the odd pages file.  Then,  advance to about two pages beyond the
  122.           end of the document,  tear off the paper,  remove  the  unprinted
  123.           paper,  insert the document in BACKWARDS (on a back feed printer,
  124.           that's with the text up;  on a bottom feed,  text  toward  back),
  125.           align,  set it to the first page,  and print the even pages file.
  126.           Now eject and replace the unprinted paper.  You can now punch  in
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           AAALLLTTTPPPAAAGGGEEE Documentation                                    Page 2
  140.  
  141.           holes or whatever you need to do; and you're done.
  142.  
  143.           PROGRAM INFORMATION          PROGRAM INFORMATION          PROGRAM INFORMATION
  144.  
  145.                This  program was written in DeSmet C on an IBM PC with a 20
  146.           meg hard disk, DOS 3.1. However, the program works under 2.1. The
  147.           source  code  is  transportable  to  any  Kerninghan  and Ritchie
  148.           defined C compiler (Lattice,  DeSmet,  K&R).  An average 134 page
  149.           document takes about 3 minutes and 45 seconds to convert. Contact
  150.           the author at the address above for information.
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.